<template>
    <div>
        {{ type_list }}
    </div>
</template>

<script>
import { type_get } from "../axios_api/api";
export default {
    data(){
        return{
            type_list:[]
        }
    },
    mounted(){
        this.get_types()
    },
    methods:{
        get_types(){
            type_get().then(resp=>{
                this.type_list = resp.data
            })
        }
    }
}
</script>

<style>

</style>
